#ifndef _WAKE_ON_WAN_HPP_
# define _WAKE_ON_WAN_HPP_

# include <iostream>
# include <cstdlib>

# define WOW_PORT "9"

class WakeOnWan
{
public:
  WakeOnWan();
  virtual ~WakeOnWan();

private:
  WakeOnWan(const WakeOnWan &);
  const WakeOnWan &operator=(const WakeOnWan &);

public:
  int exec(int ac, char **av);

public:
  static std::string createMagicPacket(const std::string &mac);

private:
  int WakeUp(const std::string &hostname, const std::string &mac);

};

#endif //!_WAKE_ON_WAN_HPP_
